import {get, post} from './http'

export default {
  getDictionaries: () => post('/public/dictionaries'),
  createDictionary: (data) => post('/public/createDictionary', data),
  deleteDictionary: (data) => post('/public/deleteDictionary', data),
  updateDictionary: (data) => post('/public/updateDictionary', data),

  createDictionaryCategory: (data) => post('/public/createDictionaryCategory', data),
  deleteDictionaryCategory: (data) => post('/public/deleteDictionaryCategory', data),
  updateDictionaryCategory: (data) => post('/public/updateDictionaryCategory', data)
}
